package eop.graham

class StudyService {

	Data data

	boolean transactional = true

	List dataSortedBy(String numerator, String denominator){
		return Data.list().sort{it[numerator]/it[denominator]}.reverse()
	}
	
	List studySearch(String geneName){
		return Study.findAllByGeneName(geneName)
	}
	

}
